﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZebraCoreLib.Framework;
using System.Data.Linq.Mapping;
using ZebraCoreLib.ZebraException;
using ZebraCoreLib.BasBiz;
using System.Data.Common;
using ZebraCoreLib.Logistics;

namespace ZebraCoreLib.Goods
{
    [ZebraBizObject(TableName = "wms_GoodsType")]
    public class GoodsType : BasBizService<GoodsType>
    {
        [ZebraField(Title = "编号", DataField = "goodsTypeID", IsPrimaryKey = true, IsAutoID = true, IsRequired = true, SortOrder = true, SortByDesc = true)]
        public string GoodsTypeID { get; set; }

        [ZebraField(Title = "", DataField = "parentID", IsRequired = true)]
        public string ParentID { get; set; }

        [ZebraField(Title = "客户编号", DataField = "sucode", IsRequired = true)]
        public string Sucode { get; set; }

        [ZebraField(Title = "类别名称", DataField = "typeName", IsRequired = true)]
        public string TypeName { get; set; }

        [ZebraField(Title = "", DataField = "defaultCodeID", IsRequired = true)]
        public string DefaultCodeID { get; set; }

        [ZebraField(Title = "", DataField = "defaultTypeID", IsRequired = true)]
        public string DefaultTypeID { get; set; }

    }
}
